﻿using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace MMSWebsite.Models
{
    #region MMS_ROLE
    [MetadataType(typeof(MMS_ROLEMetadata))]
    public partial class MMS_ROLE
    {

    }

    public class MMS_ROLEMetadata
    {
        [HiddenInput]
        public int Id { get; set; }

        [Required(ErrorMessage = "Role name can't be empty")]
        [Display(Name = "Role Name")]
        public string RoleName { get; set; }

        [DataType(DataType.MultilineText)]
        [Display(Name = "Role Description")]
        public string Description { get; set; }
    }
    #endregion

 
}